<?php
return array(
	'model' => array(
		'modelKey' => 'Model',
		'modelDirectory' => APP_DIR . DS . 'models'
	),
	
	'view' => array(
		'object' => API_DIR . DS . 'views' . DS . 'View.php',
		'dir' => APP_DIR . DS . 'views',
		'tpl_name' => 'default',
		'left_delimiter' => '<!--{',
		'right_delimiter' => '}-->',
		'tpl_suffix' => '.html.php'
	),
	
	'controller' => array(
		'url_model' => 1, // REWRITE = 3 PATHINFO = 2 NORMAL = 1
		'controllerKey' => 'Controller',
		'actionKey' => 'Action',
		'defaultController' => 'index',
		'defaultAction' => 'index',
		'controllerDirectory' => APP_DIR . DS . 'controllers'
	),
	
	'update' => array(
		'type_notallow' => 'php|pl|cgi|asp|aspx|jsp|php3|shtm|shtml',
		'type_img_allow' => 'jpg|gif|png|bmp',
		'type_array' => array(
			'image/pjpeg',
			'image/jpeg',
			'image/gif',
			'image/png',
			'image/xpng',
			'image/wbmp',
			'image/bmp',
			'image/x-png'
		)
	),
	
	'web' => array(
		'charset' => 'UTF-8',
		'language' => 'zh_cn',
		'fontfile' => 'PilsenPlakat.ttf'
	),
	
	'session' => array(
		'save_handler' => 'database', //default, database, memcache
		'table' => 'session'
	),
	
	'memcache' => array(
		'host' => '127.0.0.1',
		'port' => '11211'
	)
);
